package Dao;

import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import Bean.joinHadoopBean;

public class MusicLikeDao extends SqlMapClientDaoSupport{
	public List<joinHadoopBean> tenyears(){
		return (List<joinHadoopBean>) getSqlMapClientTemplate().queryForList("tenYears");
	}
	
	public List<joinHadoopBean> twentyyears(){
		return (List<joinHadoopBean>) getSqlMapClientTemplate().queryForList("twentyYears");
	}
	
	public List<joinHadoopBean> thirtyyears(){
		return (List<joinHadoopBean>) getSqlMapClientTemplate().queryForList("thirtyyears");
	}
	
	public List<joinHadoopBean> fortyyears(){
		return (List<joinHadoopBean>) getSqlMapClientTemplate().queryForList("fortyyears");
	}
	
	public List<joinHadoopBean> fiftiesyears(){
		return (List<joinHadoopBean>) getSqlMapClientTemplate().queryForList("fiftiesyears");
	}
}
    